package com.platform.dao;

import com.platform.base.BaseMapper;
import com.platform.pojo.Message;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface MessageMapper extends BaseMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Message record);

    int insertSelective(Message record);

    Message selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Message record);

    int updateByPrimaryKey(Message record);

    List<Map> selectByParamMap(Map map);

    int updateMessageStatusInId(Map paramMap);
}